<form id="distribution-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[id]" value="{$id}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">属性:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {volist name='matprop' id='item'}
                <label for="row[fk_bdl_bd_material_g]-{$key}">
                    <input id="row[fk_bdl_bd_material_g]-{$key}" name="row[fk_bdl_bd_material_g][]" type="checkbox" value="{$item.id}" {in name="$item.id" value="$detail"}checked{/in} /> {$item.fname}
                </label>
                {/volist}
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">确定</button>
            <button type="reset" class="btn btn-default btn-embossed">重置</button>
        </div>
    </div>
</form>
